import http from '@/utils/http.js';

export default {
  saveExam(data) {
    return http.post('/manage/exam/create', data)
  },
  getExamInfo(params) {
    return http.get('/manage/exam/info', {params})
  },
  updateExam(data) {
    return http.post('/manage/exam/update', data)
  },
  deleteExam(params) {
    return http.get('/manage/exam/delete', {params})
  },
  listExam(params){
    return http.get('/manage/exam/list', {params})
  },
  pageExam(params){
    return http.get('/manage/exam/page', {params})
  }
}
